package com.wnxy.service;

import com.wnxy.domain.Product;

import java.util.List;

/**
 * @Classname IProductService
 * @Description :
 * @Date 2021/2/23 18:05
 * @Created by Yeheng
 */
public interface IProductService {

    Product findOne(Integer pid);

    void reduceStock(Integer pid,Integer num);


    List<Product> findAll();
}
